package com.gscitysfy.cus.drain.modules.pipe.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2022-11-15 10:50:29
 */
@Getter
@Setter
@TableName("drain_pipe_network_page")
public class DrainPipeNetworkPage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Long cmKid;

    /**
     * 关联计划id
     */
    private Long cmPlanId;

    /**
     * 管网编号
     */
    private String cmPipeNo;

    /**
     * 所属道路
     */
    private String cmPipeRoad;

    /**
     * 录像
     */
    private String cmFileVideoId;

    /**
     * 报告
     */
    private String cmFileReportId;

    /**
     * 检测状态
     */
    private Integer cmPipeDetectionStatus;

    private String cmCreator;

    private String cmModifier;

    private String cmOrgflag;

    private Long cmRegflag;

    private String cmTenantid;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmAddtime;

    @TableField(fill = FieldFill.UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cmUptime;

    private Integer cmVersion;

    private Boolean cmUsable;

    /**
     * 关联任务id
     */
    private Long cmJobId;

    /**
     * 经度
     */
    private String cmPipeLng;

    /**
     * 纬度
     */
    private String cmPipeLat;


}
